package com.carhailing.coupons.config;

import lombok.Data;
import lombok.extern.log4j.Log4j2;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 支付宝实体类 AliPayConfig
 *
 * @author fivetrem
 * @date 2024-07-01
 */
@Data
@Component
@Log4j2
@ConfigurationProperties(prefix = "pay.ali")
public class AliPayConfig {

    private String appId;
    //应用私钥
    private String merchantPrivateKey;
    //支付宝公钥
    private String alipayPublicKey;
    //异步回调
    private String notifyUrL;
    //同步回调（页面）
    private String returnUrl;
    //加密方式
    private String signType;
    //格式（utf-8）
    private String charset;
    // 我的支付宝网关地址
    private String gatewayUrl;
    //json格式
    private String format;

}
